<!doctype html>
<html class="no-js fixed-layout">
<head>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__static/css/bootstrap.css"/>

	<style type="text/css">
		.am-topbar-brand>h1{
			font-size: 1.5em;
			margin: 0 0 1.6rem 0;
			font-weight: 600;
			line-height: 50px;
		}
		.admin-sidebar-list>li>a{
			font-size: 1.6rem;
			line-height: 1.6;
		}
	</style>
</head>
<!--通用head-->
{include file="Public:head"}

<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
	以获得更好的体验！</p>
<![endif]-->

<!--管理端头部-->
{include file="Public:header"}




<div class="am-cf admin-main">
	<!--管理端左菜单栏-->
	{include file="Public:menu"}

			<div class="admin-content">
				<div class="admin-content-body">
					<div class="am-cf am-padding">
						<div class="am-fl am-cf "><span class="am-icon-location-arrow am-vertical-align-middle" style="color: gray;">&nbsp;合约管理<samll>>></samll>电量分解</span></div>
						<div class="am-fr am-cf am-btn-group">
							<button type="button" class="am-btn am-btn-primary app-bor-btn">修改</button>
							<button type="button" class="am-btn am-btn-primary app-bor-btn">电量</button>
						</div>
					</div>

					<div class="am-g">
						<div class="am-u-lg-12">
							<div class="am-panel am-panel-default ">
								<div class="app-titlebar ">
									<samll class="am-vertical-align-middle">合约名称</samll>
									<input type="text" name="" id="" value="" />&emsp;
									<samll class="am-vertical-align-middle">开始时间</samll>
									<div class="input-time">
										<input type="text" data-am-datepicker readonly required />
										<span class="am-icon-calendar input-time-icon"></span>
									</div>&emsp;
									<samll class="am-vertical-align-middle">结束时间</samll>
									<div class="input-time">
										<input type="text" data-am-datepicker readonly required />
										<span class="am-icon-calendar input-time-icon"></span>
									</div>&emsp;
									<a href="" class="am-link-muted"><u>重置</u></a>
									<button type="button" class="am-btn am-btn-danger am-radius am-fr">查询</button>
								</div>
								<table class="am-table">
								<thead style="background-color: #eee;">
									<tr>
										<td><input type="checkbox" /></td>
										<td>合约编号</td>
										<td>合约名称</td>
										<td>合约类型</td>
										<td>合约电量</td>
										<td>合约年份</td>
										<td>1月</td>
										<td>2月</td>
										<td>3月</td>
										<td>4月</td>
									</tr>
								</thead>
								<tbody>
									{if $demo==0}
									<tr>
										<td colspan="10" style="color: darkgray;text-align: center;"><small>无数据</small></td>
									</tr>
									{else /}
									{foreach $list as $k=>$v}
									<tr>
										<td><input type="checkbox" id="{$v.id}"/></td>
										<td>{$v.contract_id}</td>
										<td>{$v.contract_name}</td>
										<td>{$v.contract_type}</td>
										<td>{$v.contract_electricity}</td>
										<td>{$v.contract_year}</td>
										<td></td>
										<td></td>
										<td></td>
										<td></td>
									</tr>
									{/foreach}

									{/if}
								</tbody>
							</table>
								<div style="text-align: center">
									{$page}
								</div>
							</div>
						</div>
					</div>
				</div>

				<footer class="admin-content-footer">
					<hr>
					<p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>
				</footer>
			</div>
			<!-- content end -->

		</div>

		<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>

		<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="__PUBLIC__static/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

		<!--[if (gte IE 9)|!(IE)]><!-->
		<script src="__PUBLIC__static/js/jquery.min.js"></script>
		<!--<![endif]-->
		<script src="__PUBLIC__static/js/amazeui.min.js"></script>
		<script src="" type="text/javascript" charset="utf-8"></script>
		<script src="__PUBLIC__static/js/highcharts.js" type="text/javascript" charset="utf-8"></script>
		<script src="__PUBLIC__static/js/app.js" type="text/javascript" charset="utf-8"></script>

</html>